package com.genericdevice.platform.core.dialog;

import android.app.Activity;
import android.os.Bundle;
import com.genericdevice.platform.R;
import com.genericdevice.platform.core.activity.AbstractActivity;
import com.genericdevice.platform.core.dialog.mvp.FileDialogPresenter;

/**
 * Created by Xilent on 25.05.2014.
 */
public class FileDialog extends AbstractActivity<FileDialogPresenter> {

    @Override
    protected FileDialogPresenter createPresenter() {
        return new FileDialogPresenter();
    }

    @Override
    public void onBackPressed() {
        if (!presenter.goBack()) {
            super.onBackPressed();
        }
    }

    @Override
    protected int getMenuId() {
        return R.menu.empty;
    }
}